export namespace Theme {
    export type ThemeType = "light" | "dark";
}
export namespace HandleData {
    export type MessageType = "" | "success" | "warning" | "info" | "error";
}

export namespace Table {
    export interface PageType {
        curPage: number;
        pageSize: number;
        total: number;
    }
    export interface StateProps {
        tableData: any[];
        pageInfo: PageType;
        searchParam: {
            [key: string]: any;
        };
        searchInitParam: {
            [key: string]: any;
        };
        totalParam: {
            [key: string]: any;
        };
        icon?: {
            [key: string]: any;
        };
    }
}